package com.ts.api.manage.media;

import com.ts.framework.domain.media.request.QueryMediaFileRequest;
import com.ts.framework.model.response.QueryResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@Api(value = "媒资文件管理接口", description = "负责媒资文件信息查询功能")
public interface MediaFileControllerApi {

    @ApiOperation("分页查询媒资信息")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "页码", name = "page", paramType = "path", dataType = "Integer", required = true),
            @ApiImplicitParam(value = "每页显示条数", name = "size", paramType = "path", dataType = "Integer", required = true),
            @ApiImplicitParam(value = "查询条件", name = "queryMediaFileRequest", dataType = "QueryMediaFileRequest")
    })
    public QueryResponseResult findList(Integer page,
                                        Integer size,
                                        QueryMediaFileRequest queryMediaFileRequest);
}
